package org.springframework.samples.mvc.fileupload;

public class ImageFile2 {
	/**
	 * 업로드한 이미지 파일이 저장될 경로
	 */
	public static final String IMAGE_DIR = "c:/upload_images/";

	private long seq;
	private String url;
	private String name;
	private String thumbnailUrl;
	private String type;
	private long size;
	private String deleteUrl;
	private String deleteType;

	public long getSeq() {
		return seq;
	}

	public void setSeq(long seq) {
		this.seq = seq;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getThumbnailUrl() {
		return thumbnailUrl;
	}

	public void setThumbnailUrl(String thumbnailUrl) {
		this.thumbnailUrl = thumbnailUrl;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}

	public String getDeleteUrl() {
		return deleteUrl;
	}

	public void setDeleteUrl(String deleteUrl) {
		this.deleteUrl = deleteUrl;
	}

	public String getDeleteType() {
		return deleteType;
	}

	public void setDeleteType(String deleteType) {
		this.deleteType = deleteType;
	}

	public static String getImageDir() {
		return IMAGE_DIR;
	}

	public ImageFile2(long seq, String url, String name, String thumbnailUrl,
			String type, long size, String deleteUrl, String deleteType) {
		super();
		this.seq = seq;
		this.url = url;
		this.name = name;
		this.thumbnailUrl = thumbnailUrl;
		this.type = type;
		this.size = size;
		this.deleteUrl = deleteUrl;
		this.deleteType = deleteType;
	}

}
